package com.hejjon.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author: cs
 * @date: 2025-03-11 17:46:42
 * @since: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_database")
@ApiModel(value="SysDatabase对象", description="系统数据库对象")
public class SysDatabase {

    @TableId("id")
    private String id;

    @TableField("name")
    private String name;

    @TableField("label")
    private String label;

    @TableField("type")
    private String type;

    @TableField("driver_type")
    private String driverType;

    @TableField("connection_id")
    private String connectionId;

    @TableField("description")
    private String description;

    @TableField("enable")
    private Integer enable;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("create_by")
    private String createBy;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("update_by")
    private String updateBy;


    @TableField("delete_flag")
    private String deleteFlag;

}
